home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
Book Chapters
/
03 - Advanced Graphics
/
Example 6
/
README
< prev
next >
Wrap
Text File
|
1995-06-02
|
686b
|
19 lines
All of the examples for this chapter require:
System 7
A color monitor set to 256 colors.
Example 6:
This example uses the encoded shape draw and an update rectangle list.
The commands for this example are:
command-Q - quit
1, 2, 3, 4, 5, 6, 7, 8, 9, 0 - toggle individual disks on and off
shift + 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 - stop/start individual disks
u - toggle update mode -- show the area we are updating
+ and - -- increase and decrease the maximum number of update rectangles
click and hold - draw the animation without taking events
NOTE: When show update mode (u) is active, the entire screen is being copied. The real updates only happen when show update mode is off.